
import {createAction} from 'redux-actions'
// 服务端发送请求
export const addProductToCart = createAction('addProductToCart')
// 商品添加到本地购物车
export const addroductToLocalCart = createAction('addroductToLocalCart')

// 获取购物车数据
export const loadCarts = createAction('loadCarts')
// 将数据保存到本地store
export const saveCarts = createAction('saveCarts')

// 删除商品
export const deleteProductFromCart = createAction('deleteProductFromCart')
// 本地购物车商品
export const deleteProductFromLocalCart = createAction('deleteProductFromLocalCart')

// 改版数据
export const changeServiceProductNumber = createAction('changeServiceProductNumber')

// 本地
export const changeLocalProductNumber = createAction('changeLocalProductNumber')
